home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XConfigureEvent.z / XConfigureEvent
Encoding:
Text File  |  1998-10-30  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCoooonnnnffffiiiigggguuuurrrreeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCCoooonnnnffffiiiigggguuuurrrreeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XConfigureEvent - ConfigureNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _C_o_n_f_i_g_u_r_e_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* ConfigureNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window event;
  20.                Window window;
  21.                int x, y;
  22.                int width, height;
  23.                int border_width;
  24.                Window above;
  25.                Bool override_redirect;
  26.           } XConfigureEvent;
  27.  
  28.           When you receive this event, the structure members are set
  29.           as follows.
  30.  
  31.           The type member is set to the event type constant name that
  32.           uniquely identifies it.  For example, when the X server
  33.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  34.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  35.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  36.           pointer to the display the event was read on.  The
  37.           send_event member is set to _T_r_u_e if the event came from a
  38.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  39.           the serial number reported in the protocol but expanded from
  40.           the 16-bit least-significant bits to a full 32-bit value.
  41.           The window member is set to the window that is most useful
  42.           to toolkit dispatchers.
  43.  
  44.           The event member is set either to the reconfigured window or
  45.           to its parent, depending on whether _S_t_r_u_c_t_u_r_e_N_o_t_i_f_y or
  46.           _S_u_b_s_t_r_u_c_t_u_r_e_N_o_t_i_f_y was selected.  The window member is set
  47.           to the window whose size, position, border, and/or stacking
  48.           order was changed.
  49.  
  50.           The x and y members are set to the coordinates relative to
  51.           the parent window's origin and indicate the position of the
  52.           upper-left outside corner of the window.  The width and
  53.           height members are set to the inside size of the window, not
  54.           including the border.  The border_width member is set to the
  55.           width of the window's border, in pixels.
  56.  
  57.           The above member is set to the sibling window and is used
  58.           for stacking operations.  If the X server sets this member
  59.           to _N_o_n_e, the window whose state was changed is on the bottom
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCCoooonnnnffffiiiigggguuuurrrreeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCCoooonnnnffffiiiigggguuuurrrreeeeEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           of the stack with respect to sibling windows.  However, if
  75.           this member is set to a sibling window, the window whose
  76.           state was changed is placed on top of this sibling window.
  77.  
  78.           The override_redirect member is set to the override-redirect
  79.           attribute of the window.  Window manager clients normally
  80.           should ignore this window if the override_redirect member is
  81.           _T_r_u_e.
  82.  
  83.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  84.           XAnyEvent(3X11), XButtonEvent(3X11),
  85.           XCreateWindowEvent(3X11), XCirculateEvent(3X11),
  86.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  87.           XConfigureRequestEvent(3X11), XCrossingEvent(3X11),
  88.           XDestroyWindowEvent(3X11), XErrorEvent(3X11),
  89.           XExposeEvent(3X11), XFocusChangeEvent(3X11),
  90.           XGraphicsExposeEvent(3X11), XGravityEvent(3X11),
  91.           XKeymapEvent(3X11), XMapEvent(3X11), XMapRequestEvent(3X11),
  92.           XPropertyEvent(3X11), XReparentEvent(3X11),
  93.           XResizeRequestEvent(3X11), XSelectionClearEvent(3X11),
  94.           XSelectionEvent(3X11), XSelectionRequestEvent(3X11),
  95.           XUnmapEvent(3X11), XVisibilityEvent(3X11)
  96.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.